package com.threeti.mecool.legacy.domain.model.basicdata;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 品牌类别(遗留) */
@Entity
@Table(name = "MD_CAT")
public class BrandCategoryLegacy implements Serializable {
  @Id
  @Column(name="CAT_CODE")
  private String code;
  
  @Column(name="CAT_ALIAS")
  private String name;

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String toString() {
    return "BrandCategoryLegacy [code=" + code + ", name=" + name + "]";
  }
  
  
}
